package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 缴费率具体缴费人数
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("rate_pay")
@ApiModel(value = "RatePay对象", description = "缴费率具体缴费人数")
public class RatePay implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("缴费率")
    private Long schoolId;

    @ApiModelProperty("教师")
    private Long teacherId;

    @ApiModelProperty("学生")
    private Long studentId;

    @ApiModelProperty("科目")
    private Integer subjectsId;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("季度")
    private Integer quarterNum;

    @ApiModelProperty("年级")
    private Integer yearClassId;

    @ApiModelProperty("班级id")
    private Long gradeId;

    @ApiModelProperty("数量")
    private Integer num;

    @ApiModelProperty("订单id")
    private Long orderId;

    @ApiModelProperty("订单详情id")
    private Long orderDetailId;

    private Integer status;

    private Integer deleted;

    private LocalDate addDate;

    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }
    public Integer getSubjectsId() {
        return subjectsId;
    }

    public void setSubjectsId(Integer subjectsId) {
        this.subjectsId = subjectsId;
    }
    public Integer getYearPart() {
        return yearPart;
    }

    public void setYearPart(Integer yearPart) {
        this.yearPart = yearPart;
    }
    public Integer getQuarterNum() {
        return quarterNum;
    }

    public void setQuarterNum(Integer quarterNum) {
        this.quarterNum = quarterNum;
    }
    public Integer getYearClassId() {
        return yearClassId;
    }

    public void setYearClassId(Integer yearClassId) {
        this.yearClassId = yearClassId;
    }
    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }
    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }
    public Long getOrderDetailId() {
        return orderDetailId;
    }

    public void setOrderDetailId(Long orderDetailId) {
        this.orderDetailId = orderDetailId;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDate getAddDate() {
        return addDate;
    }

    public void setAddDate(LocalDate addDate) {
        this.addDate = addDate;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "RatePay{" +
            "id=" + id +
            ", schoolId=" + schoolId +
            ", teacherId=" + teacherId +
            ", studentId=" + studentId +
            ", subjectsId=" + subjectsId +
            ", yearPart=" + yearPart +
            ", quarterNum=" + quarterNum +
            ", yearClassId=" + yearClassId +
            ", gradeId=" + gradeId +
            ", num=" + num +
            ", orderId=" + orderId +
            ", orderDetailId=" + orderDetailId +
            ", status=" + status +
            ", deleted=" + deleted +
            ", addDate=" + addDate +
            ", createdAt=" + createdAt +
        "}";
    }
}
